package com.ke.forum.mbg.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ke.forum.mbg.entity.ChatHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ke.forum.mbg.entity.dto.ChatHistoryDto;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 珂
 * @since 2021-07-02
 */
@Repository
public interface ChatHistoryMapper extends BaseMapper<ChatHistory> {
    Page<ChatHistoryDto> listChatHistoryBySessionId(Long sessionId,Page<ChatHistoryDto> page);
}
